<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>The old Book</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link rel="stylesheet" type="text/css" href="default.css" />
</head>
<body>

	<div id="outer">
		<div align="right">
			<s:if test="#session.username != null">
				<h2>
					欢迎您,
					<s:property value="#session.username" />
					&nbsp; <a href="user_logout">退出登录</a>
				</h2>
			</s:if>
			<s:else>
				<a href="index.jsp">登录/注册</a>
			</s:else>
		</div>
		<div id="header">
			<h1>旧书</h1>
			<div id="menu">
				<ul>
					<li class="first"><a href="globalAction">主页</a></li>
					<li><a href="#">求书区</a></li>
					<li><a href="#">一键发布</a></li>
					<li><a href="allBook">所有图书</a></li>
				</ul>
			</div>
		</div>

		<div id="inner">

			<div id="main">
				<div id="xbgA"></div>

				<div id="main_inner">

					<!-- Main start -->

					<h2>热门图书</h2>
					<div class="content1">
						<s:iterator value="bookList" var="book">
							<a href="detailBook?id=<s:property value="#book.id" />"><img
								src="<s:property value="#book.url" />" class="cpic right"
								alt="<s:property value="#book.bookname" />" /></a>
						</s:iterator>
					</div>
					<div class="foot"></div>

					<div class="divider"></div>

					<h2>最近求书信息</h2>
					<div class="content">

						<table>
							<tr>
								<th class="first">用户名</th>
								<th>所求书名</th>
								<th>该书作者</th>
								<th>出版社</th>
								<th>联系方式</th>
							</tr>
							<s:iterator value="requestList" var="requestBook">
								<tr class="rowA">
									<td class="first"><s:property
											value="#requestBook.user.username" /></td>
									<td><s:property value="#requestBook.bookname" /></td>
									<td><s:property value="#requestBook.author" /></td>
									<td><s:property value="#requestBook.edition" /></td>
									<td><s:property value="#requestBook.phone" /></td>
								</tr>
							</s:iterator>

						</table>

					</div>

					<div class="divider"></div>

					<div id="ccol1">
						<h3>
							<strong>nullam</strong> sit amet
						</h3>
						<div class="content">
							<p>
								<strong>Quisque eros cras</strong> lobortis commodo metus.
								Vestibulum vel purus. In eget odio in sapien adipiscing blandit.
								Quisque eros. Cras lobortis commodo metus lorem ipsum dolor sit
								amet nullam sed veroeros etiam augue nunc ante aliquam. Quisque
								augue tortor, facilisis sit etiam. <a href="#">Continued ...</a>
							</p>
						</div>
					</div>

					<div id="ccol2">
						<h3>
							<strong>nullam</strong> sit amet
						</h3>
						<div class="content">
							<p>Vestibulum vel purus. In eget odio in ante aliquam quisque
								etiam.</p>
							<ul>
								<li><a href="#">Lorem ipsum dolor sit</a></li>
								<li><a href="#">Amet nullam sed</a></li>
								<li><a href="#">Veroeros etiam augue</a></li>
								<li><a href="#">Nunc ante aliquam quisque</a></li>
								<li><a href="#">Augue tortor facilisis sit</a></li>
								<li><a href="#">More ...</a></li>
							</ul>
						</div>
					</div>

					<!-- Main End -->
					<div class="foot"></div>
				</div>

			</div>

			<div id="side">
				<!-- Side start -->

				<h3>
					<strong>lorem</strong> ipsum dolor
				</h3>
				<div class="content">
					<p>
						Vestibulum vel purus. In eget dolor nulla <a href="#">veroeros
							et nullam sed</a> veroeros etiam augue nunc ante aliquam. Quisque
						augue.
					</p>
					<div class="divider"></div>
					<p>
						In eget dolor nulla <a href="#">nullam sed etiam dolore sed</a>
						eroeros etiam augue nunc ante aliquam.
					</p>
					<div class="divider"></div>
					<p>
						Purus etiam in eget dolor nulla <a href="#">lorem ipsum dolor</a>
						augue nunc ante aliquam sed dolore nullam. Lorem ipsum dolor et
						sed etiam augue.
					</p>
				</div>

				<h3>
					<strong>lorem</strong> ipsum dolor
				</h3>
				<div class="content">
					<ul>
						<li class="first"><a href="#">Lorem ipsum dolor sit</a></li>
						<li><a href="#">Amet nullam sed etiam</a></li>
						<li><a href="#">Veroeros etiam augue</a></li>
						<li><a href="#">Nunc ante aliquam quisque</a></li>
						<li><a href="#">Augue tortor facilisis sit</a></li>
						<li><a href="#">Veroeros etiam augue</a></li>
						<li><a href="#">Lorem ipsum dolor sit</a></li>
						<li><a href="#">Nunc ante aliquam quisque</a></li>
						<li><a href="#">Amet nullam sed etiam</a></li>
					</ul>
				</div>

				<!-- Side end -->
			</div>
			<div id="xbgB" class="foot"></div>
		</div>

	</div>
	<div id="outer2"></div>

	<div id="footer">
		&copy; 2008 MyWebsiteName. Design by <a
			href="http://www.nodethirtythree.com">NodeThirtyThree</a> + <a
			href="http://www.freecsstemplates.org/">Free CSS Templates</a>
	</div>
	<s:debug></s:debug>


</body>
</html>
<span style="display: none;"><a href="http://www.mobanwang.com"
	title="ÍøÒ³Ä£°åÏÂÔØ">ÍøÒ³Ä£°å</a></span>